package com.ohs.ohsoa.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ohs.ohsoa.system.dto.OvertimesettingDto;
import com.ohs.ohsoa.system.entity.Overtimesetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OvertimesettingMapper extends BaseMapper<Overtimesetting> {
    /**获取加班信息
     *
     * @param overtimesettingDto 加班信息
     * @return 加班信息
     */
    List<Overtimesetting> overtimesettingSelectList(@Param("overtimesettingDto")OvertimesettingDto overtimesettingDto);

    /**根据id查询加班信息
     *
     * @param overtimesettingGuid id
     * @return 加班信息
     */
    Overtimesetting overtimesettingSelectById(String overtimesettingGuid);

    /**修改加班信息
     *
     * @param overtimesetting 加班信息
     * @return 修改结果
     */
    Boolean overtimesettingUpdate(Overtimesetting overtimesetting);

}
